<?php


namespace app\common\model;

use think\Model as ThinkModel;

//项目表
class ProjectRateChange extends ThinkModel
{
    // 设置当前模型对应的完整数据表名称
    protected $table = '__QT_PROJECT_RATE_CHANGE__';
    protected $name = 'qt_project_rate_change';
    protected $pk = 'id';
    protected $autoWriteTimestamp = true;

    public function getStartAttr($value,$data)
    {
        return date('Y-m-d H:i:s',$value);
    }

    public function getEndAttr($value)
    {
        return date('Y-m-d H:i:s',$value);
    }
}